<?
$f1=new Zend_Date($this->row['consumo']['date_consumo'],Zend_Date::ISO_8601);
$f2=new Zend_Date($this->row['consumo']['date_consumo_anterior'],Zend_Date::ISO_8601);
?>


<table class="tablesorter">
    <tr><th><?php echo $this->translate('Contador');?></th><td><?=$this->escape($this->row['con_numero'])?></td></tr>
    <tr><th><?php echo $this->translate('Código');?></th><td><?=$this->escape($this->row['codigo'])?></td></tr>
    <tr><th><?php echo $this->translate('Proyecto');?></th><td><?=$this->proyecto($this->row['id_proyecto'])?></td></tr>
    <tr><th><?php echo $this->translate('Origen alimentación');?></th><td><?=$this->escape($this->row['cc'])?></td></tr>
    <tr><th><?php echo $this->translate('Sala');?></th><td><?=$this->escape($this->row['sala'])?></td></tr>
    <tr><th><?php echo $this->translate('Modelo');?></th><td><?=$this->escape($this->row['modelo'])?></td></tr>
    <tr><th><?php echo $this->translate('Potencia Consumida');?> <?=$f1->get('MMM-yyyy')?></th><td> <?=$this->numEs($this->row['consumo']['potencia'],2,'KILOWATT')?></td></tr>
    <tr><th><?php echo $this->translate('Consumo');?> <?=$f1->get('MMM-yyyy')?></th><td> <?=$this->numEs($this->row['consumo']['consumo'],0,'KILOWATT_HOUR')?></td></tr>
    <tr><th><?php echo $this->translate('Potencia Consumida');?> <?=$f2->get('MMM-yyyy')?></th><td> <?=$this->numEs($this->row['consumo']['potencia_anterior'],2,'KILOWATT')?></td></tr>
    <tr><th><?php echo $this->translate('Consumo');?> <?=$f2->get('MMM-yyyy')?></th><td> <?=$this->numEs($this->row['consumo']['consumo_anterior'],0,'KILOWATT_HOUR')?></td></tr>


</table>